Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / SheetView Class / SetConditionalFormatting Method / SetConditionalFormatting(Int32,Int32,Boolean,IConditionalFormattingRule[]) Method
Row index
Column index
Indicates that rule(s) can be merged into an existing conditional format if they affect the same cell range(s).
Rules to apply for the specified cell


In This Topic
    SetConditionalFormatting(Int32,Int32,Boolean,IConditionalFormattingRule[]) Method
    In This Topic
    Sets conditional formatting for a specified cell on the sheet based on specified rules.
    Syntax
    'Declaration
     
    
    Public Overloads Sub SetConditionalFormatting( _
       ByVal row As Integer, _
       ByVal column As Integer, _
       ByVal isCombinable As Boolean, _
       ByVal ParamArray rules() As IConditionalFormattingRule _
    ) 
    'Usage
     
    
    Dim instance As SheetView
    Dim row As Integer
    Dim column As Integer
    Dim isCombinable As Boolean
    Dim rules() As IConditionalFormattingRule
     
    instance.SetConditionalFormatting(row, column, isCombinable, rules)
    public void SetConditionalFormatting( 
       int row,
       int column,
       bool isCombinable,
       params IConditionalFormattingRule[] rules
    )

    Parameters

    row
    Row index
    column
    Column index
    isCombinable
    Indicates that rule(s) can be merged into an existing conditional format if they affect the same cell range(s).
    rules
    Rules to apply for the specified cell
    See Also